package cn.kgc.springcloud.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 课工场
 * @date 2024/4/27
 * @description
 */
@RestController
@RequestMapping("score")
public class ScoreController {

    @Value("${server.port}")
    private String port;

    @GetMapping("info")
    public String  getInfo(){

        return "score service ok  port = "+port;
    }

}
